<?php
$arrColors = array(0=>"Blue", 1=>"Red", 2=>"Green", 3=>"Yellow");

for($i = 0; $i < count($arrColors); $i++)
{
	$element = $arrColors[$i];
	echo "<p>$element</p>";
}

var_dump($arrColors);

?>